package com.yima.baseproj.module.app.Controller.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class EventMsg {
    @ApiModelProperty(value = "设备序列号")
    private String deviceNo;
    @ApiModelProperty(value = "设备内网ip")
    private String deviceIp;
    @ApiModelProperty(value = "人员guid 或者STRANGERBABY")
    private String admitGuid;
    @ApiModelProperty(value = "识别模式,1:人像识别, 2:刷卡识别 ,3:人卡合一 4,人证比对 5:按钮开门 6：远程开门 7:密码识别 8：人+密码开门 9:口罩测温检测 10:二维码识别 11: 刷身份证 12:指纹识别")
    private int recMode;
    @ApiModelProperty(value = "现场照url")
    private String filePath;
    @ApiModelProperty(value = "识别记录时间戳")
    private String showTime;
    @ApiModelProperty(value = "活体结果 1:活体判断成功 2:活体判断失败 3:未进行活体判断")
    private int aliveType;
    @ApiModelProperty(value = "识别分数")
    private int recScore;
    @ApiModelProperty(value = "软件版本号")
    private String deviceVersion;
    @ApiModelProperty(value = "设备来源")
    private int source;
    @ApiModelProperty(value = "人员比对结果,1:比对成功 2:比对失败")
    private int type;
    @ApiModelProperty(value = "识别卡号")
    private String cardNo;
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "比对模式,1:本地识别 2:云端识别")
    private int recType;
    @ApiModelProperty(value = "有效日期判断 1:有效期内 2:有效期外 3:未进行有效期判断")
    private int permissionTimeType;
    @ApiModelProperty(value = "有效时间段判断 1:时间段内 2:时间段外 3:未进行时间段判断")
    private int passTimeType;
    @ApiModelProperty(value = "识别模式判断 1. 模式正确 2.模式不正确")
    private int recModeType;
    @ApiModelProperty(value = "保留字段")
    private String storageId;
    @ApiModelProperty(value = "当前时间戳")
    private long timestamp;
    @ApiModelProperty(value = "识别主体姓名")
    private String admitName;
    @ApiModelProperty(value = "自定义嵌套的IdCardInfo实体类")
    private IdCardInfo idCardInfo;

}
